package com.moli.iov.admin.model.vo.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 *
 * Sms notice value object.
 *
 * @author OAK
 * @version 3.0
 * @since 2019/10/15 20:00 PM.
 *
 */
@Data
public class NoticeSmsVo extends BaseVo {

  /**
   * Company id.
   */
  @NotNull(message = "企业ID不能为空")
  private Long companyId;

  /**
   * Mobile.
   */
  private String mobile;

  /**
   * Sms notice type.
   */
  @NotNull(message = "通知类型不能为空")
  private Integer smsType;

  /**
   * Sms notice reference id.
   */
  @NotNull(message = "短信关联ID不能为空")
  private Integer smsCode;

  public interface Save{}

  public interface Update{}

}
